package com.wwwarehouse.contract.bean;

import android.os.Parcel;
import android.os.Parcelable;

import java.util.ArrayList;

/**
 * 修改发布契约列表Bean
 * Created by ShineF on 2017/10/27 0027.
 */

public class ReleaseSupplyListBean implements Parcelable {

    /**
     * total : 4
     * size : 10
     * page : 1
     * list : [{"latestConfirmTime":null,"contractStartTime":"2017-10-29 15:57:00","createUserId":10002269,"contractSource":"32127400000007026_32127200000007025","contractType":"SUPPLY","contractUkid":32127200000007025,"remark":null,"startValidTime":"2017-10-29 15:57:00","contractTime":"2017-10-28 15:58:10","currency":null,"contractName":"发布契约","supplySignUkid":10002269,"supplierBusinessId":10001495,"demandSignName":"IOS单位六","currencyUnit":null,"endValidTime":"2017-10-31 15:57:00","earliestConfirmTime":null,"contractStatus":20,"updateUserId":null,"updateTime":"2017-10-28 15:58:15","demandSignUkid":null,"sort":null,"signingTime":"2017-10-28 15:58:10","contractEndTime":"2017-10-31 15:57:00","supplySignName":null,"size":10,"createTime":"2017-10-28 15:58:15","contractId":"D32127200000007025","contractAscription":"PB","page":1,"demanderBusinessId":10005556},{"latestConfirmTime":null,"contractStartTime":"2017-10-29 19:13:00","createUserId":10002269,"contractSource":"32126700000004096_32126500000004083","contractType":"SUPPLY","contractUkid":32126500000004083,"remark":null,"startValidTime":"2017-10-29 19:13:00","contractTime":"2017-10-27 19:20:25","currency":null,"contractName":"发布契约","supplySignUkid":10002269,"supplierBusinessId":10001495,"demandSignName":"IOS单位五","currencyUnit":null,"endValidTime":"2017-11-27 19:13:00","earliestConfirmTime":null,"contractStatus":20,"updateUserId":null,"updateTime":"2017-10-27 19:20:31","demandSignUkid":null,"sort":null,"signingTime":"2017-10-27 19:20:25","contractEndTime":"2017-11-27 19:13:00","supplySignName":null,"size":10,"createTime":"2017-10-27 19:20:31","contractId":"D32126500000004083","contractAscription":"PB","page":1,"demanderBusinessId":10005555},{"latestConfirmTime":null,"contractStartTime":"2017-10-27 16:41:38","createUserId":10002269,"contractSource":"32125500000004086_32126600000004032","contractType":"SUPPLY","contractUkid":32126600000004032,"remark":null,"startValidTime":"2017-10-27 16:41:38","contractTime":"2017-10-27 16:41:38","currency":null,"contractName":"发布契约","supplySignUkid":10002269,"supplierBusinessId":10001495,"demandSignName":"IOS单位一","currencyUnit":null,"endValidTime":"2017-10-26 20:29:00","earliestConfirmTime":null,"contractStatus":20,"updateUserId":null,"updateTime":"2017-10-27 16:41:44","demandSignUkid":null,"sort":null,"signingTime":"2017-10-27 16:41:38","contractEndTime":"2017-10-26 20:29:00","supplySignName":null,"size":10,"createTime":"2017-10-27 16:41:44","contractId":"D32126600000004032","contractAscription":"PB","page":1,"demanderBusinessId":10005551},{"latestConfirmTime":null,"contractStartTime":"2017-10-27 10:49:26","createUserId":10002269,"contractSource":"32125900000003135_32125500000004134","contractType":"SUPPLY","contractUkid":32125500000004134,"remark":null,"startValidTime":"2017-10-27 10:49:26","contractTime":"2017-10-27 10:49:26","currency":null,"contractName":"发布契约","supplySignUkid":10002269,"supplierBusinessId":10001495,"demandSignName":"IOS单位二","currencyUnit":null,"endValidTime":"2017-10-28 11:36:00","earliestConfirmTime":null,"contractStatus":20,"updateUserId":null,"updateTime":"2017-10-27 10:49:31","demandSignUkid":null,"sort":null,"signingTime":"2017-10-27 10:49:26","contractEndTime":"2017-10-28 11:36:00","supplySignName":null,"size":10,"createTime":"2017-10-27 10:49:31","contractId":"D32125500000004134","contractAscription":"PB","page":1,"demanderBusinessId":10005552}]
     */

    private String total;
    private String size;
    private String page;
    private ArrayList<ListBean> list;

    public String getTotal() {
        return total;
    }

    public void setTotal(String total) {
        this.total = total;
    }

    public String getSize() {
        return size;
    }

    public void setSize(String size) {
        this.size = size;
    }

    public String getPage() {
        return page;
    }

    public void setPage(String page) {
        this.page = page;
    }

    public ArrayList<ListBean> getList() {
        return list;
    }

    public void setList(ArrayList<ListBean> list) {
        this.list = list;
    }

    public static class ListBean implements Parcelable {
        /**
         * latestConfirmTime : null
         * contractStartTime : 2017-10-29 15:57:00
         * createUserId : 10002269
         * contractSource : 32127400000007026_32127200000007025
         * contractType : SUPPLY
         * contractUkid : 32127200000007025
         * remark : null
         * startValidTime : 2017-10-29 15:57:00
         * contractTime : 2017-10-28 15:58:10
         * currency : null
         * contractName : 发布契约
         * supplySignUkid : 10002269
         * supplierBusinessId : 10001495
         * demandSignName : IOS单位六
         * currencyUnit : null
         * endValidTime : 2017-10-31 15:57:00
         * earliestConfirmTime : null
         * contractStatus : 20
         * updateUserId : null
         * updateTime : 2017-10-28 15:58:15
         * demandSignUkid : null
         * sort : null
         * signingTime : 2017-10-28 15:58:10
         * contractEndTime : 2017-10-31 15:57:00
         * supplySignName : null
         * size : 10
         * createTime : 2017-10-28 15:58:15
         * contractId : D32127200000007025
         * contractAscription : PB
         * page : 1
         * demanderBusinessId : 10005556
         */

        private String latestConfirmTime;
        private String contractStartTime;
        private String createUserId;
        private String contractSource;
        private String contractType;
        private String contractUkid;
        private String remark;
        private String startValidTime;
        private String contractTime;
        private String currency;
        private String contractName;
        private String supplySignUkid;
        private String supplierBusinessId;
        private String demandSignName;
        private String currencyUnit;
        private String endValidTime;
        private String earliestConfirmTime;
        private String contractStatus;
        private String updateUserId;
        private String updateTime;
        private String demandSignUkid;
        private String sort;
        private String signingTime;
        private String contractEndTime;
        private String supplySignName;
        private String size;
        private String createTime;
        private String contractId;
        private String contractAscription;
        private String page;
        private String demanderBusinessId;

        public String getLatestConfirmTime() {
            return latestConfirmTime;
        }

        public void setLatestConfirmTime(String latestConfirmTime) {
            this.latestConfirmTime = latestConfirmTime;
        }

        public String getContractStartTime() {
            return contractStartTime;
        }

        public void setContractStartTime(String contractStartTime) {
            this.contractStartTime = contractStartTime;
        }

        public String getCreateUserId() {
            return createUserId;
        }

        public void setCreateUserId(String createUserId) {
            this.createUserId = createUserId;
        }

        public String getContractSource() {
            return contractSource;
        }

        public void setContractSource(String contractSource) {
            this.contractSource = contractSource;
        }

        public String getContractType() {
            return contractType;
        }

        public void setContractType(String contractType) {
            this.contractType = contractType;
        }

        public String getContractUkid() {
            return contractUkid;
        }

        public void setContractUkid(String contractUkid) {
            this.contractUkid = contractUkid;
        }

        public String getRemark() {
            return remark;
        }

        public void setRemark(String remark) {
            this.remark = remark;
        }

        public String getStartValidTime() {
            return startValidTime;
        }

        public void setStartValidTime(String startValidTime) {
            this.startValidTime = startValidTime;
        }

        public String getContractTime() {
            return contractTime;
        }

        public void setContractTime(String contractTime) {
            this.contractTime = contractTime;
        }

        public String getCurrency() {
            return currency;
        }

        public void setCurrency(String currency) {
            this.currency = currency;
        }

        public String getContractName() {
            return contractName;
        }

        public void setContractName(String contractName) {
            this.contractName = contractName;
        }

        public String getSupplySignUkid() {
            return supplySignUkid;
        }

        public void setSupplySignUkid(String supplySignUkid) {
            this.supplySignUkid = supplySignUkid;
        }

        public String getSupplierBusinessId() {
            return supplierBusinessId;
        }

        public void setSupplierBusinessId(String supplierBusinessId) {
            this.supplierBusinessId = supplierBusinessId;
        }

        public String getDemandSignName() {
            return demandSignName;
        }

        public void setDemandSignName(String demandSignName) {
            this.demandSignName = demandSignName;
        }

        public String getCurrencyUnit() {
            return currencyUnit;
        }

        public void setCurrencyUnit(String currencyUnit) {
            this.currencyUnit = currencyUnit;
        }

        public String getEndValidTime() {
            return endValidTime;
        }

        public void setEndValidTime(String endValidTime) {
            this.endValidTime = endValidTime;
        }

        public String getEarliestConfirmTime() {
            return earliestConfirmTime;
        }

        public void setEarliestConfirmTime(String earliestConfirmTime) {
            this.earliestConfirmTime = earliestConfirmTime;
        }

        public String getContractStatus() {
            return contractStatus;
        }

        public void setContractStatus(String contractStatus) {
            this.contractStatus = contractStatus;
        }

        public String getUpdateUserId() {
            return updateUserId;
        }

        public void setUpdateUserId(String updateUserId) {
            this.updateUserId = updateUserId;
        }

        public String getUpdateTime() {
            return updateTime;
        }

        public void setUpdateTime(String updateTime) {
            this.updateTime = updateTime;
        }

        public String getDemandSignUkid() {
            return demandSignUkid;
        }

        public void setDemandSignUkid(String demandSignUkid) {
            this.demandSignUkid = demandSignUkid;
        }

        public String getSort() {
            return sort;
        }

        public void setSort(String sort) {
            this.sort = sort;
        }

        public String getSigningTime() {
            return signingTime;
        }

        public void setSigningTime(String signingTime) {
            this.signingTime = signingTime;
        }

        public String getContractEndTime() {
            return contractEndTime;
        }

        public void setContractEndTime(String contractEndTime) {
            this.contractEndTime = contractEndTime;
        }

        public String getSupplySignName() {
            return supplySignName;
        }

        public void setSupplySignName(String supplySignName) {
            this.supplySignName = supplySignName;
        }

        public String getSize() {
            return size;
        }

        public void setSize(String size) {
            this.size = size;
        }

        public String getCreateTime() {
            return createTime;
        }

        public void setCreateTime(String createTime) {
            this.createTime = createTime;
        }

        public String getContractId() {
            return contractId;
        }

        public void setContractId(String contractId) {
            this.contractId = contractId;
        }

        public String getContractAscription() {
            return contractAscription;
        }

        public void setContractAscription(String contractAscription) {
            this.contractAscription = contractAscription;
        }

        public String getPage() {
            return page;
        }

        public void setPage(String page) {
            this.page = page;
        }

        public String getDemanderBusinessId() {
            return demanderBusinessId;
        }

        public void setDemanderBusinessId(String demanderBusinessId) {
            this.demanderBusinessId = demanderBusinessId;
        }

        @Override
        public int describeContents() {
            return 0;
        }

        @Override
        public void writeToParcel(Parcel dest, int flags) {
            dest.writeString(this.latestConfirmTime);
            dest.writeString(this.contractStartTime);
            dest.writeString(this.createUserId);
            dest.writeString(this.contractSource);
            dest.writeString(this.contractType);
            dest.writeString(this.contractUkid);
            dest.writeString(this.remark);
            dest.writeString(this.startValidTime);
            dest.writeString(this.contractTime);
            dest.writeString(this.currency);
            dest.writeString(this.contractName);
            dest.writeString(this.supplySignUkid);
            dest.writeString(this.supplierBusinessId);
            dest.writeString(this.demandSignName);
            dest.writeString(this.currencyUnit);
            dest.writeString(this.endValidTime);
            dest.writeString(this.earliestConfirmTime);
            dest.writeString(this.contractStatus);
            dest.writeString(this.updateUserId);
            dest.writeString(this.updateTime);
            dest.writeString(this.demandSignUkid);
            dest.writeString(this.sort);
            dest.writeString(this.signingTime);
            dest.writeString(this.contractEndTime);
            dest.writeString(this.supplySignName);
            dest.writeString(this.size);
            dest.writeString(this.createTime);
            dest.writeString(this.contractId);
            dest.writeString(this.contractAscription);
            dest.writeString(this.page);
            dest.writeString(this.demanderBusinessId);
        }

        public ListBean() {
        }

        protected ListBean(Parcel in) {
            this.latestConfirmTime = in.readString();
            this.contractStartTime = in.readString();
            this.createUserId = in.readString();
            this.contractSource = in.readString();
            this.contractType = in.readString();
            this.contractUkid = in.readString();
            this.remark = in.readString();
            this.startValidTime = in.readString();
            this.contractTime = in.readString();
            this.currency = in.readString();
            this.contractName = in.readString();
            this.supplySignUkid = in.readString();
            this.supplierBusinessId = in.readString();
            this.demandSignName = in.readString();
            this.currencyUnit = in.readString();
            this.endValidTime = in.readString();
            this.earliestConfirmTime = in.readString();
            this.contractStatus = in.readString();
            this.updateUserId = in.readString();
            this.updateTime = in.readString();
            this.demandSignUkid = in.readString();
            this.sort = in.readString();
            this.signingTime = in.readString();
            this.contractEndTime = in.readString();
            this.supplySignName = in.readString();
            this.size = in.readString();
            this.createTime = in.readString();
            this.contractId = in.readString();
            this.contractAscription = in.readString();
            this.page = in.readString();
            this.demanderBusinessId = in.readString();
        }

        public static final Parcelable.Creator<ListBean> CREATOR = new Parcelable.Creator<ListBean>() {
            @Override
            public ListBean createFromParcel(Parcel source) {
                return new ListBean(source);
            }

            @Override
            public ListBean[] newArray(int size) {
                return new ListBean[size];
            }
        };
    }

    @Override
    public int describeContents() {
        return 0;
    }

    @Override
    public void writeToParcel(Parcel dest, int flags) {
        dest.writeString(this.total);
        dest.writeString(this.size);
        dest.writeString(this.page);
        dest.writeTypedList(this.list);
    }

    public ReleaseSupplyListBean() {
    }

    protected ReleaseSupplyListBean(Parcel in) {
        this.total = in.readString();
        this.size = in.readString();
        this.page = in.readString();
        this.list = in.createTypedArrayList(ListBean.CREATOR);
    }

    public static final Parcelable.Creator<ReleaseSupplyListBean> CREATOR = new Parcelable.Creator<ReleaseSupplyListBean>() {
        @Override
        public ReleaseSupplyListBean createFromParcel(Parcel source) {
            return new ReleaseSupplyListBean(source);
        }

        @Override
        public ReleaseSupplyListBean[] newArray(int size) {
            return new ReleaseSupplyListBean[size];
        }
    };
}
